package cn.funeralobjects.minecraft.api.mapper;

import cn.funeralobjects.minecraft.api.model.ServerVo;
import cn.funeralobjects.minecraft.model.Server;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author FuneralObjects
 * Create date: 2021/5/5 11:50 PM
 */
@Mapper(uses = {WordMapper.class})
public interface ServerMapper {

    ServerMapper INSTANCE = Mappers.getMapper(ServerMapper.class);

    ServerVo toVo(Server server);
}
